home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / WINDOWS / WAVPLY.ARJ / MPGLOB.BAS < prev    next >
BASIC Source File  |  1992-03-17  |  2KB  |  52 lines

  1. '*********************************************
  2.  
  3. ' Vbasic declarations for Multimedia calls
  4.  
  5. '*********************************************
  6.  
  7. 'DWORD mciSendString(lpstrCoMMand,lpstrReturnString,wReturnLength,hCallback)
  8.  
  9. Declare Function mciSendString Lib "c:\mwin\system\MMsystem" (ByVal lpCoMMand As String, ByVal lpReturnString As String, ByVal WReturnLength As Integer, ByVal hCallback As Integer) As Long
  10.  
  11. 'BOOL mciExecute(lpstrCoMMand)
  12.  
  13. Declare Function mciExecute Lib "c:\mwin\system\MMsystem" (ByVal lpCoMMand As String) As Integer
  14.  
  15. 'void MessageBeep(wAlert)
  16.  
  17. Declare Function MessageBeep Lib "c:\mwin\system\MMsystem" (ByVal Alert As Integer)
  18.  
  19. 'WORD mciGetErrorString(dwError, lpstrBuffer, wLength)
  20.  
  21. Declare Function mciGetErrorString Lib "c:\mwin\system\MMsystem" (ByVal dwError As Long, ByVal lpBuffer As String, ByVal WReturnLength As Integer) As Integer
  22.  
  23. 'WORD sndPlaySound(lpszSound, wFlags)
  24.  
  25. Declare Function sndPlaySound Lib "c:\mwin\system\MMsystem" (ByVal lpSound As String, ByVal Flags As Integer) As Integer
  26.  
  27. '****************************************
  28.  
  29. ' Constants for Waveplayer
  30.  
  31. '****************************************
  32.  
  33. Global Const MB_OK = 0
  34. Global Const MB_ICONASTERISK = 1
  35. Global Const MB_ICONEXCLAMATION = 2
  36. Global Const MB_ICONHAND = 3
  37. Global Const MB_ICONQUESTION = 4
  38. Global Const MB_STDBEEP = -1
  39.  
  40. Global Const FALSE = 0
  41. Global Const TRUE = -1
  42.  
  43. Global Const KEY_RETURN = &HD
  44. Global Const MODAL = 1
  45.  
  46. Global Const INSERT = 1    ' for line editing...
  47. Global Const ALTER = 2
  48.  
  49. Global CancelOp As Integer
  50. Global EditFunction As Integer
  51.  
  52.